package com.example.demo.service;

import com.example.demo.entity.User;
import java.util.List;
import java.util.Optional;

public interface UserService {
    List<User> queryByAge(int age);
    User save(User user);
    void deletUserById(int id);
    Optional<User> queryById(int id);
}